package com.fjnu.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Date;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {

        private Integer userId;

        private String name;

        private String password;

        private String salt;

        private Date createTime;

        private Integer gender;

        private Integer score;

        private Integer status;

        private String email;

        public User(String name, String password, String salt, Integer gender, String email, Integer status, Date createTime, Integer score) {
                this.name = name;
                this.password = password;
                this.salt = salt;
                this.gender = gender;
                this.email = email;
                this.status = status;
                this.createTime = createTime;
                this.score = score;
        }
}
